Solving This Beautiful Problem In 2 Ways